#ifndef NAVIGATORVIEW_H
#define NAVIGATORVIEW_H

#include <QWidget>

class Navigator;
class NavigatorBarElement;
class QHBoxLayout;
class QLabel;
class QPushButton;


class NavigatorBar : public QWidget
{
    Q_OBJECT
public:
    explicit NavigatorBar (QWidget *parent = 0);
    ~NavigatorBar();

    Navigator* navigator();
    const Navigator* navigator() const;

private slots:
    void addElement (const QString& name);
    void removeLastElement();
    void elementActivated (const int orderNumber);

private:
    QList<NavigatorBarElement*> m_elements;
    QHBoxLayout* m_horizontalLayout;
    Navigator* m_navigator;

signals:
    void activated (const QVariant& data);
};


#endif // NAVIGATORVIEW_H
